package com.fengdao.demo.model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@Schema(description = "用户实体")
@AllArgsConstructor
@NoArgsConstructor
public class UserEntity implements Serializable {

    @Schema(description = "用户id",name = "id")
    private Integer id;
    
    @Schema(description = "用户昵称",name = "nickname")
    private String nickname;
    
    @Schema(description = "用户名")
    private String username;

    @Schema(description = "用户密码")
    private String password;

}